#create_table table_name records_number
create_table()
{
table=$1
records=$2
echo 'create data for table: '$table', with records: '$records

java RandomDB $table $records
java ConvertTxtToTbl $table
}

#number of records in each table
records=500

#start to build the tables
create_table FLIGHTS $records
create_table AIRCRAFTS $records
create_table SCHEDULE $records
create_table CERTIFIED $records
create_table EMPLOYEES $records
